<?php

class Example_model extends Model {
	
	public function getSomething()
	{      
        try {
            $actorTable = Doctrine::getTable('NwsBanner');
            $actors = $actorTable->findAll();
        foreach($actors as $a){
                $teste .= $a->banTit  . '<br />';
        }
        return $teste;
        } catch (Doctrine_Exception $e) {
            print $e->getMessage();
        }
	}

}

?>
